﻿@{
    ViewBag.Title = "Index";
}
<section id="content" role="main">
        








        
            
                <header>
                    <h1 id="admin-page-heading">Workflows</h1>
                </header>
            
            <div class="content-container">
                
<div class="content-related aui-tabs aui-tabs-disabled vertical-tabs">
    <ul class="tabs-menu">
            <li class="aui-tabs-group">
            <ul class="aui-tabs-group-menu">
                            <li class="menu-item active-tab" title="Workflows">
                    
                     @Html.ActionLink("Workflows", "Index", "Workflow", new { @id = "workflows_tab" })
                </li>
                            <li class="menu-item" title="Workflow Schemes">
                    
                    @Html.ActionLink("Workflow Schemes", "WorkflowScheme", "Workflow", new { @id = "workflow_schemes_tab" })
                </li>
                        </ul>
        </li>
        </ul>
</div>

                <div class="content-body aui-panel">
                    
    <header>
        <nav class="aui-toolbar">
            <div class="toolbar-split toolbar-split-right">
                <ul class="toolbar-group">
                    <li class="toolbar-item">
                        <a id="add-workflow" class="toolbar-trigger trigger-dialog" href="AddNewWorkflow.jspa">
                            <span class="icon icon-add16"></span>
                            Add Workflow
                        </a>
                    </li>
                    
                        <li class="toolbar-item">
                            <a id="import-workflow" class="toolbar-trigger trigger-dialog" href="ImportWorkflowFromXml!default.jspa">
                                Import From XML
                            </a>
                        </li>
                    
                    <li class="toolbar-item">
                        





    
    
        <a class="toolbar-trigger
     toolbar-trigger
" title="Get online help about Workflow" href="https://docs.atlassian.com/jira/docs-051/Configuring+Workflow" target="_jirahelp">
    
        <span class="icon icon-help">
            <span>
            
                
                
                    Get help!
                
            
            </span>
        </span>
    </a>



                    </li>
                </ul>
            </div>
        </nav>
        <h2>Workflows</h2>
    </header>
    








<div id="ViewWorkflows" class="module">
    
    <div class="mod-content">
        
            
                
            
            











<div class="aui-message info"><span class="aui-icon icon-info"></span>
                    To delete a workflow, you must first unassign it from any workflow schemes.
                </div>









            <div id="active-workflows-module" class="module toggle-wrap">
                <div id="active-workflows-module-heading" class="mod-header">
                    <ul class="ops"></ul>
                    <h3 class="toggle-title">Active</h3></div>
                <div class="mod-content">
                    <div id="active-workflows-val">
                        
                        
                        <table id="active-workflows-table" class="aui aui-table-rowhover list-workflow-table">
                            <thead>
                            <tr>
                                <th class="workflow-name">Name</th>
                                <th class="workflow-last-modified">Last modified</th>
                                <th class="workflow-schemes">Assigned Schemes</th>
                                <th class="workflow-steps">Steps</th>
                                <th class="workflow-operations">Operations</th>
                            </tr>
                            </thead>
                            <tbody>
                            
                                <tr data-workflow-name="jira">
                                <td class="workflow-name cell-type-value" data-cell-type="name">
                                    
                                        
                                    
                                    <strong>jira</strong>
                                    
                                        (Read-only System Workflow)
                                    
                                    
                                        <span class="status-lozenge status-default" title="Used by projects with no associated workflow scheme and by workflow schemes with unassigned issue types.">Default</span>
                                    
                                    
                                    <div class="secondary-text">
                                        The default JIRA workflow.
                                    </div>
                                </td>
                                <td class="workflow-last-modified cell-type-value" data-cell-type="last-modified">
                                    
                                </td>
                                <td class="workflow-schemes cell-type-value" data-cell-type="schemes">
                                    
                                    
                                </td>
                                <td class="workflow-steps" data-cell-type="steps">
                                    5
                                </td>
                                <td class="workflow-operations" data-cell-type="operations">
                                    <ul class="operations-list">
                                        <li>
                                            
                                            @Html.ActionLink("View", "ViewDiagram", "Workflow", new { @id = "steps_live_jira" })
                                        </li>
                                        
                                        <li>
                                            <a data-operation="copy" class="trigger-dialog" id="copy_jira" href="CloneWorkflow!default.jspa?atl_token=BPZI-XZK9-RUJW-161X%7Ccb06219d9ee83055b6429b5422eeca7550ad79f9%7Clin&amp;workflowMode=live&amp;workflowName=jira">Copy</a>
                                        </li>
                                    </ul>
                                </td>
                                </tr>
                            
                            </tbody>
                        </table>
                        
                    </div>
                </div>
            </div>
            <div id="inactive-workflows-module" class="module toggle-wrap collapsed">
                <div id="inactive-workflows-module-heading" class="mod-header">
                    <ul class="ops"></ul>
                    <h3 class="toggle-title">Inactive</h3></div>
                <div class="mod-content">
                    <div id="inactive-workflows-val">
                        
                        <p>There are no inactive workflows.</p>
                        
                        
                    </div>
                </div>
            </div>
        
    </div>
</div>










                </div>
            </div>
        
    </section>
